import logging
import os

import pytest
from dotenv import load_dotenv

from slark import OmniClient

load_dotenv()
logging.basicConfig(level="DEBUG")


@pytest.fixture(scope="session")
def client():
    return OmniClient(os.getenv("APP_ID"), os.getenv("APP_SECRET"))


@pytest.fixture
def anyio_backend():
    return "asyncio"
